/**  File: dot.h
 *   Author: Jaideep Balekar
 *           Department of Computer Science
 *           Texas A&M University
 *           315 - Programming Studio
 * Due Date: December 6th, 2009 @ 11:59pm
 * Contents: Draws the dots (food) on the map and sets its properties. 
 */
#ifndef DOT_H
#define DOT_H


#include <QGraphicsItem>
#define ID_DOT 1//set the ID of this dot to 1

class Dot : public QGraphicsItem 
{
public:
    
	// constructors
    Dot();
    Dot(int width, int height);
    // Methods
	virtual int type() const;
	QRectF boundingRect() const;
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
               QWidget *widget);

private:
    QColor colorOfDot;
    int WIDTH_OF_DOT;
    int HEIGHT_OF_DOT;
};

#endif // DOT_H
